<?php /* Smarty version Smarty-3.0.9, created on 2013-12-04 06:11:27
         compiled from "templates\finalizar_kernel.tpl" */ ?>
<?php /*%%SmartyHeaderCode:12273529eb97f6e8a71-75035169%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '361b15a1486efdda812079e842fdc1b1a72ea0c5' => 
    array (
      0 => 'templates\\finalizar_kernel.tpl',
      1 => 1385693453,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12273529eb97f6e8a71-75035169',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
 
    <script src="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_global'];?>
js/finalizar_kernel.js"></script>
 
<div class="square">
    <div>
        <div>
            <form action="<?php echo $_smarty_tpl->getVariable('gvar')->value['l_global'];?>
finalizar_kernel.php?option=finalizar" method="post"  class="form-horizontal">
                <div id="titleForm">
                    <span>Finalizar Actualización de Kernel</span>
                </div>
                <div class="control-group">
                    <label class="control-label"> Seleccione la versión a finalizar</label>
                    <div class="controls">
                        <select id="kernelVersionSelect">
                            <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('kernels')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
                                <option data-descripcion="<?php echo $_smarty_tpl->getVariable('kernels')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]->get('descripcion');?>
" value=<?php echo $_smarty_tpl->getVariable('kernels')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]->get('id');?>
><?php echo $_smarty_tpl->getVariable('kernels')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]->get('version');?>
</option>                   
                            <?php endfor; endif; ?>
                        </select>
                    </div>
                </div>
                <div class="control-group" id="descripcionKernel">
                    <label class="control-label"> Descripción: </label>
                    <div class="controls">
                        <textarea id ="KernelDescripcionTextArea" name="descripcion"row="" col=""></textarea>
                    </div>
                </div>         
                <input id="idKernel" name="id" type="hidden" />
                <div class="control-group text-right">
                    <input class="btn btn-success" type="submit" name="enviar" id="enviar" value="Finalizar Actualización">
                </div>                
            </form>
        </div>    
    </div>
</div>